﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for DTO_Users
/// </summary>
public class DTO_Users
{
    private int _Uid;
    private string _UserName;
    private string _Name;
    private string _Email;
    private int _Permissions_Id;
    private int _Status;
    private string _Password;

    public int Uid
    {
        get { return _Uid; }
        set { _Uid = value; }
    }
    public string UserName
    {
        get { return _UserName; }
        set { _UserName = value; }
    }
    public string Name
    {
        get { return _Name; }
        set { _Name = value; }
    }
    public string Email
    {
        get { return _Email; }
        set { _Email = value; }
    }
    public int Permissions_Id
    {
        get { return _Permissions_Id; }
        set { _Permissions_Id = value; }
    }
    public int Status
    {
        get { return _Status; }
        set { _Status = value; }
    }
    public string Password
    {
        get { return _Password; }
        set { _Password = value; }
    }

	public DTO_Users()
	{
        _Uid = 0;
        _UserName = "";
        _Name = "";
        _Email = "";
        _Permissions_Id = 0;
        _Status = 0;
        _Password = "";
	}
    public DTO_Users(int uid, string username, string name, string email, int permissions_id, int status, string password)
    {
        this.Uid = uid;
        this.UserName = username;
        this.Name = name;
        this.Email = email;
        this.Permissions_Id = permissions_id;
        this.Status = status;
        this.Password = password;
    }
    public DTO_Users(DTO_Users obj)
    {
        this.Uid = obj.Uid;
        this.UserName = obj.UserName;
        this.Name = obj.Name;
        this.Email = obj.Email;
        this.Permissions_Id = obj.Permissions_Id;
        this.Status = obj.Status;
        this.Password = obj.Password;
    }
}